package com.ffcs.crmd.tsp.admin.service;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.TaskIdentity;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface ITaskIdentityService {

    /**
     * 功能说明:
     * 
     * @param taskRegisterInfoList
     * @throws TspException
     */
    void deleteTaskIdentity(List<TaskIdentity> taskRegisterInfoList) throws TspException;

    /**
     * 功能说明:
     * 
     * @param TaskIdentity
     * @throws TspException
     */
    void deleteTaskIdentity(TaskIdentity TaskIdentity) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws TspException
     */
    TaskIdentity get(TaskIdentity taskIdentity) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param identity
     * @param jobId
     * @return
     * @throws TspException
     */
    List<TaskIdentity> query(TaskIdentity taskIdentity) throws TspException;


    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param identity
     * @param jobId
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException
     */
    PageInfo<TaskIdentity> queryPage(TaskIdentity taskIdentity, int pageNumber, int pageSize) throws TspException;


    /**
     * 功能说明:
     * 
     * @param TaskIdentity
     * @throws TspException 
     */
    void saveTaskIdentity(TaskIdentity TaskIdentity) throws TspException;

    /**
     * 功能说明:
     * 
     * @param TaskIdentity
     * @throws TspException
     */
    void updateTaskIdentity(TaskIdentity TaskIdentity) throws TspException;

    
}
